package com.aaa.common.constant;

/**
 * fileName:ReturnCode
 * description:
 * author:zz
 * createTime:2020/10/14 16:44
 * version:1.0.0
 */
public enum ReturnCode {

    SUCCESSS(2000,"操作成功"),
    FAIL(5000,"操作失败");

    private int code;
    private String msg;

    ReturnCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
